package com.cloud.easy.im.argeement;

/**
 * @author wangjian
 * @version 0.1.0
 * @create 2020年09月16日11:16 上午
 */
public interface ErrorCode {

    int COMMON_CODE_OK = 0;
    int COMMON_NO_LOGIN = 1;
    int COMMON_UNKNOW_ERROR = 2;

    int COMMON_DATA_SEND_FAILD = 3;

    int COMMON_INVALID_PROTOCAL = 4;

    /**
     * 客户端发送
     */
    interface ForC
    {
        int BREOKEN_CONNECT_TO_SERVER = 201;
        int BAD_CONNECT_TO_SERVER = 202;
        int CLIENT_SDK_NO_INITIALED = 203;
        int LOCAL_NETWORK_NOT_WORKING = 204;
        int TO_SERVER_NET_INFO_NOT_SETUP = 205;
    }

    /**
     * 服务端发送
     */
    interface ForS
    {
        /**
         * 响应未登陆
         */
        int RESPONSE_FOR_UNLOGIN = 301;
    }

}
